package com.maimao.search.model.goods;

import com.maimao.core.model.resp.PageResult;
import com.maimao.model.goods.Brand;
import com.maimao.model.goods.Category;

import java.util.List;

/**
 * @author MaoLin Wang
 * @date 2020/12/28 5:45 下午
 */
public class SearchPageResult<T> extends PageResult<T> {

    private List<Brand> brandList;
    private List<Category> categoryList;
    private List<SearchParam> searchParamList;

    public SearchPageResult(List<T> rows) {
        super(rows);
    }

    public SearchPageResult(List<T> rows, Long total) {
        super(rows, total);
    }

    public List<Brand> getBrandList() {
        return brandList;
    }

    public void setBrandList(List<Brand> brandList) {
        this.brandList = brandList;
    }

    public List<Category> getCategoryList() {
        return categoryList;
    }

    public void setCategoryList(List<Category> categoryList) {
        this.categoryList = categoryList;
    }

    public List<SearchParam> getSearchParamList() {
        return searchParamList;
    }

    public void setSearchParamList(List<SearchParam> searchParamList) {
        this.searchParamList = searchParamList;
    }

    @Override
    public String toString() {
        return "SearchPageResult{" +
                "brandList=" + brandList +
                ", categoryList=" + categoryList +
                ", searchParamList=" + searchParamList +
                '}';
    }
}
